package work.mediway.mdm.biz.service.hierarchy;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

import work.mediway.mdm.core.page.QueryRequest;
import work.mediway.mdm.core.transport.ErrorMsgVO;
import work.mediway.mdm.biz.entity.hierarchy.HosPerson;

public interface HosPersonService extends IService<HosPerson> {

    void saveHosPerson(HosPerson hosPerson);

    Page<HosPerson> findHosPerson(HosPerson hosPerson, QueryRequest queryRequest);

    Page<HosPerson> findHosPerson(String orgCode, QueryRequest queryRequest);

    void updateHosPerson(HosPerson hosPerson);

    ErrorMsgVO deleteHosPerson(String stationTypeId);

    ErrorMsgVO importHosPerson(List<HosPerson> hosPersonList, boolean updateSupport);
}
